package com.ftg.learn.chapter15;

import org.junit.Test;

/**
 * @author KangJx
 * @date 2021/7/26
 */
public class StudentTest {

    @Test
    public void test1(){
        Student s1 = Student.getMySelf();

        System.out.println(s1.getI());

        Student s2 = Student.getMySelf();
        System.out.println(s2.getI());

        System.out.println(Student.i);
        System.out.println(s1 == s2);
    }

}
